/*
 * Copyright (C) 2017 Pingan, Inc. All Rights Reserved.
 */

package com.pingan.haofang.searchcloud.web.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pingan.haofang.searchcloud.common.constants.WebConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 项目VO
 *
 * @author zhangbi617
 * @date 08/05/2017
 */
@ApiModel(description = "项目VO")
public class ProjectVo {
    /**
     * 项目编号ID
     */
    @ApiModelProperty(value = "项目编号ID")
    private Long id;

    /**
     * 项目名称，最大长度64
     */
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    /**
     * 项目编码，最大长度64
     */
    @ApiModelProperty(value = "projectCode")
    private String projectCode;


    /**
     * 状态 0：正常 1：停用
     */
    @ApiModelProperty(value = "状态 0：正常 1：停用")
    private Integer status;

    /**
     * 项目简介
     */
    @ApiModelProperty(value = "项目简介")
    private String introduction;

    /**
     * 项目负责人
     */
    @ApiModelProperty(value = "masterId")
    private Long masterId;

    /**
     * 项目负责人名称
     */
    @ApiModelProperty(value = "项目负责人名称")
    private String masterUserName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间,格式:yyyy-MM-dd HH:mm:ss", example = "2017-05-08 14:41:12")
    @JsonFormat(pattern = WebConstants.DATE_FORMAT, timezone = WebConstants.TIMEZONE)
    private Date createTime;

    /**
     * 项目告警收件人
     */
    @ApiModelProperty(value = "项目告警收件人")
    private String mailTo;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Long getMasterId() {
        return masterId;
    }

    public void setMasterId(Long masterId) {
        this.masterId = masterId;
    }

    public String getMasterUserName() {
        return masterUserName;
    }

    public void setMasterUserName(String masterUserName) {
        this.masterUserName = masterUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMailTo() {
        return mailTo;
    }

    public void setMailTo(String mailTo) {
        this.mailTo = mailTo;
    }
}
